home *** CD-ROM | disk | FTP | other *** search
/ Total Network Tools 2002 / NextStepPublishing-TotalNetworkTools2002-Win95.iso / Archive / Web Content Filter / Proxomitron.exe / file0008.bin < prev    next >
Encoding:
Text File  |  1999-10-17  |  11.7 KB  |  495 lines

  1. ##
  2. ## Proxomitron Config File
  3. ##
  4.  
  5. [Global]
  6. Enable = TRUE
  7. FreezeGIF = TRUE
  8. FilterHTML = TRUE
  9. FilterHeadersOut = TRUE
  10. FilterHeadersIn = TRUE
  11. EnableProxy = FALSE
  12. EnableAutoRun = FALSE
  13. ForceTextures = FALSE
  14. NoTextures = FALSE
  15. SysTray = TRUE
  16. Port = 8080
  17.  
  18. [HTTP headers]
  19. In = FALSE
  20. Out = TRUE
  21. Key = "Accept-encoding: prevent webpage encoding (out)"
  22. Match = "*"
  23.  
  24. In = FALSE
  25. Out = FALSE
  26. Key = "Authorization: Example password entry (out)"
  27. URL = "www.needspassword.com/this/area/protected.html"
  28. Replace = "basic bWljaGllOm5lb24temVicmE="
  29.  
  30. In = TRUE
  31. Out = FALSE
  32. Key = "Content-Type: character set filter (in)"
  33. Match = "text/html;*charset*"
  34. Replace = "text/html"
  35.  
  36. In = TRUE
  37. Out = FALSE
  38. Key = "Content-Type: Fix Javascript mime types"
  39. URL = "*.js(^?)"
  40. Match = "text/plain"
  41. Replace = "text/javascript"
  42.  
  43. In = TRUE
  44. Out = FALSE
  45. Key = "Content-Type: Fix MIDI mime types"
  46. URL = "*.mid((^?)|#)"
  47. Match = "text/plain"
  48. Replace = "audio/mid"
  49.  
  50. In = TRUE
  51. Out = FALSE
  52. Key = "Content-Type: Fix MP3 mime types"
  53. URL = "*.mp3((^?)|#)"
  54. Match = "text/plain"
  55. Replace = "audio/x-mpeg"
  56.  
  57. In = FALSE
  58. Out = FALSE
  59. Key = "Content-Type: Show contents of .pac files"
  60. Match = "application/x-ns-proxy-autoconfig"
  61. Replace = "text/plain"
  62.  
  63. In = FALSE
  64. Out = FALSE
  65. Key = "Content-Type: View RealAudio links"
  66. Match = "*realaudio*"
  67. Replace = "text/html"
  68.  
  69. In = FALSE
  70. Out = FALSE
  71. Key = "Cookie: Fake a cookie (out)"
  72. Match = "*"
  73. Replace = "monster"
  74.  
  75. In = FALSE
  76. Out = FALSE
  77. Key = "Cookie: Kill a cookie (out)"
  78. Match = "*"
  79.  
  80. In = FALSE
  81. Out = FALSE
  82. Key = "Forwarded:"
  83. Replace = "\h"
  84.  
  85. In = FALSE
  86. Out = FALSE
  87. Key = "If-Modified-Since: Always reload pages (Out)"
  88. Match = "*"
  89.  
  90. In = FALSE
  91. Out = FALSE
  92. Key = "Last-Modified: (In)"
  93. Match = "*"
  94.  
  95. In = FALSE
  96. Out = FALSE
  97. Key = "Pragma: Don't force reloads"
  98. Match = "no-cache"
  99.  
  100. In = FALSE
  101. Out = FALSE
  102. Key = "Proxy-Authorization: Send password to proxy server"
  103. Replace = "basic cHJveHl1c2VyOnByb3h5cGFzcw=="
  104.  
  105. In = FALSE
  106. Out = TRUE
  107. Key = "Referer: Hide where we've been (Out)"
  108. Match = "*"
  109. Replace = "\u"
  110.  
  111. In = FALSE
  112. Out = FALSE
  113. Key = "Set-cookie: Never accept cookies (In)"
  114. Match = "*"
  115.  
  116. In = FALSE
  117. Out = TRUE
  118. Key = "URL-Killer: kill-a-URL (out)"
  119. URL = "adex*flycast|*burstnet.com"
  120. Replace = "This connection has been axed\k"
  121.  
  122. In = FALSE
  123. Out = TRUE
  124. Key = "User-Agent:"
  125. Match = "*"
  126. Replace = "SpaceBison/0.01 [fu] (Win67; X; ShonenKnife)"
  127.  
  128. In = FALSE
  129. Out = FALSE
  130. Key = "WWW-Authenticate: filter out password requests (in)"
  131. Match = "Basic*realm="*""
  132.  
  133. In = FALSE
  134. Out = FALSE
  135. Key = "X-Forwarded-For:"
  136. Replace = "yahoo.com, microsoft.com, netscape.com, aol.com, \h"
  137.  
  138.  
  139. [Patterns]
  140. Name = "Kill JavaScript Banners"
  141. Active = TRUE
  142. Bounds = "<script*</script>"
  143. Limit = 5000
  144. Match = "*(doubleclick|flycast|burstnet)*|"
  145.         "(*document.write*<img*</a>*&*/ads/*)"
  146. Replace="<!-- JS Banner Killed -->"
  147.  
  148. Name = "Kill Hyper Banner"
  149. Active = TRUE
  150. Bounds = "<applet\s*</applet>"
  151. Limit = 5000
  152. Match = "*code=("|)(movie|WSSApplet|hyper).class*"
  153. Replace = "<font size=1>[JavaApp Killed]</font><br>"
  154.  
  155. Name = "Banner Replacer"
  156. Active = FALSE
  157. Bounds = "<a\s*</a>"
  158. Limit = 800
  159. Match = "\0<img (\1border=\w|) \2 src=\w (\3border=\w|) \4"
  160.         "&(*(href|src)=\w([^o]ads[./]|/ad|(ad|log_)click|click(thru|er)|(banner|ad|acct|source|click)id=|(to|seed|banner|page)=|banners|adbanner|adfu.|sponsor|adver|promo|redirect)|"
  161.         "(*width=[#460-480] & *height=[#55-60])|"
  162.         "(*width=[#88] & *height=[#31]))*"
  163. Replace = "\0<img \1 border=1 \2 src=\dclear.gif \3 \4"
  164.  
  165. Name = "Banner Blaster (limit text)"
  166. Active = TRUE
  167. Multi = TRUE
  168. Bounds = "<a\s*</a>|<input*>"
  169. Limit = 800
  170. Match = "\1<(img|image|input)*>\3"
  171.         "&(*(href|src)=\w([^o]ads[./]|/ad|(ad|log_)click|click(thru|er)|(banner|ad|acct|source|click)id=|(to|seed|banner|page)=|banners|adbanner|adfu.|sponsor|adver|promo|redirect)|"
  172.         "*http://*<im(g|age)\s(*width=[#460-480] & *height=[#55-60]|"
  173.         "*width=[#88] & *height=[#31]|"
  174.         "*src=\w(cgi|\?)\w) *>)*"
  175.         "&(*alt="(([^" ]+\s[^" ]+\s[^" ]+\s[^" ]+)\2\s*|\2)"|)"
  176. Replace = "<center>\1<font size=1>[\2]</font>\3</center>"
  177.  
  178. Name = "Banner Blaster (full text)"
  179. Active = FALSE
  180. Multi = TRUE
  181. Bounds = "<a\s*</a>|<input*>"
  182. Limit = 800
  183. Match = "\1<(img|image|input)*>\3"
  184.         "&(*(href|src)=\w([^o]ads[./]|/ad|(ad|log_)click|click(thru|er)|(banner|ad|acct|source|click)id=|(to|seed|banner|page)=|banners|adbanner|adfu.|sponsor|adver|promo|redirect)|"
  185.         "*http://*<img\s(*width=[#460-480] & *height=[#55-60]|"
  186.         "*width=[#88] & *height=[#31]|"
  187.         "*src=\wcgi\w) *>)*"
  188.         "&(*alt="\2"|)"
  189. Replace = "<center>\1<font size=1>[\2]</font>\3</center>"
  190.  
  191. Name = "Area Map Ad Blaster"
  192. Active = TRUE
  193. Multi = TRUE
  194. Bounds = "<img\s[^>]+> <map\s*</map>"
  195. Limit = 800
  196. Match = "<img*usemap*>*"
  197.         "&*(ads.|log_click|/ad|clickthru|(banner|ad|acct|source|click)(id|)=|adbanner|clicker|sponsor|adver|promo|redirect)*"
  198.         "&*<map*<area (*href=(\w)\1 & (*alt="\2'|))*>\3</map>"
  199. Replace = "<br><killmap><font size=1><a href=\1>[\2]</a></font>\3</killmap>"
  200.  
  201. Name = "Area Map Ad Blaster pt2 (show all links)"
  202. Active = TRUE
  203. Multi = TRUE
  204. Bounds = "<killmap>*</killmap>"
  205. Limit = 800
  206. Match = "\1 <area (*href=(\w)\2 & (*alt="(?????????????)\3*|\3'|))*> \4"
  207. Replace = " \1 <font size=1><a href=\2 >[\3]</a></font> \4 "
  208.  
  209. Name = "Webpage Background Killer"
  210. Active = FALSE
  211. Multi = TRUE
  212. Limit = 200
  213. Match = "<body \1background=\2>"
  214. Replace = "<body \1nobak=\2>"
  215.  
  216. Name = "Webpage Background Replacer"
  217. Active = FALSE
  218. Multi = TRUE
  219. Limit = 200
  220. Match = "<body ( \1 background=\w|) \2>"
  221. Replace = "<body \1 background="\dblack.gif" \2>"
  222.  
  223. Name = "Kill All Backgrounds (even tables)"
  224. Active = FALSE
  225. Limit = 20
  226. Match = "background="
  227. Replace = "nobak="
  228.  
  229. Name = "GeoCities branding killer"
  230. Active = FALSE
  231. URL = "*.geocities."
  232. Limit = 2500
  233. Match = "<div class="geobranding*</script>"
  234. Replace = "<font size=1>[GeoBrand killed]</font>"
  235.  
  236. Name = "Sounds to links"
  237. Active = FALSE
  238. Bounds = "<embed\s*>|<bgsound\s*>"
  239. Limit = 256
  240. Match = "*src=("*'|\w)\1&(*type=(\w)\2|)*"
  241. Replace = "<a href=\1 >[\2]</a>"
  242.  
  243. Name = "Sound Silencer"
  244. Active = TRUE
  245. Limit = 20
  246. Match = "<(embed|bgsound)\s"
  247. Replace = "<keepquiet "
  248.  
  249. Name = "Embedded MIDI Silencer"
  250. Active = TRUE
  251. Bounds = "<embed\s*>"
  252. Limit = 256
  253. Match = "*src=("*'|\w)\1&(*(type=\w)\2|)*"
  254. Replace = "<embed src=\1 height=15 controls="smallconsole" \2 >"
  255.  
  256. Name = "Blink Buster (Blink to Bold)"
  257. Active = TRUE
  258. Limit = 20
  259. Match = "<(/|)\1blink>"
  260. Replace = "<\1b>"
  261.  
  262. Name = "Freeze font's face"
  263. Active = FALSE
  264. Limit = 80
  265. Match = "<font\s\1face=\2>"
  266. Replace = "<font \1ecaf=\2>"
  267.  
  268. Name = "Counter Killer"
  269. Active = TRUE
  270. Bounds = "<img\s*>"
  271. Limit = 256
  272. Match = "*src=("|)(\wcount|http://\w(cgi-bin|\?))*"
  273. Replace = " <font size=1>[000]</font> "
  274.  
  275. Name = "Onload unloader"
  276. Active = FALSE
  277. Limit = 20
  278. Match = "onload="
  279. Replace = "LoadOff="
  280.  
  281. Name = "OnUnload unloader"
  282. Active = TRUE
  283. Multi = TRUE
  284. Bounds = "<body\s*>"
  285. Limit = 300
  286. Match = "\1 onunload=\2"
  287. Replace = "\1 UnLoadOff=\2"
  288.  
  289. Name = "Link De-Obfuscator"
  290. Active = FALSE
  291. Limit = 50
  292. Match = "onmouseover=("*.status=)\1"
  293. Replace = "nomouseover=\1"
  294.  
  295. Name = "Anti-Auto-Refresher"
  296. Active = TRUE
  297. Bounds = "<meta\s*>"
  298. Limit = 200
  299. Match = "*http-equiv=("|)refresh(*url=([^"' ]+)\1|)*"
  300. Replace = "<center><font size=1><a href=\1 >[Refresh]</a></font></center>"
  301.  
  302. Name = "Wordwrap all form textboxes"
  303. Active = TRUE
  304. Limit = 128
  305. Match = "<textarea\s\1>"
  306. Replace = "<textarea wrap=soft \1>"
  307.  
  308. Name = "Kill add-on JavaScripts "
  309. Active = TRUE
  310. Multi = TRUE
  311. Bounds = "</body>*</script>"
  312. Limit = 1024
  313. Match = "\1<script*"
  314. Replace = "<font size=1>[PostScript Killed]</font><br>\r\n"
  315.           "\1\n"
  316.  
  317. Name = "Disable JavaScript"
  318. Active = FALSE
  319. Limit = 256
  320. Match = "<script*>"
  321. Replace = "<script language="ShonenScript 712.0">"
  322.  
  323. Name = "Kill Nosey JavaScripts"
  324. Active = FALSE
  325. Bounds = "<script*</script>"
  326. Limit = 16000
  327. Match = "*(.(referrer|plugins|cookie|colorDepth|pixelDepth|external)|history.length)*"
  328. Replace = "<!-- Killed Nosey JavaScript -->"
  329.  
  330. Name = "Disable JavaScript cookies"
  331. Active = FALSE
  332. Limit = 128
  333. Match = ".cookie(*[(;)])\1"
  334. Replace = ".Cracker\1"
  335.  
  336. Name = "Hide Browser's Referrer from JS"
  337. Active = TRUE
  338. Limit = 15
  339. Match = ".referrer"
  340. Replace = ".referrer.substr(0,0)+"http://www.mmjp.or.jp/knife/""
  341.  
  342. Name = "Hide Browser's Version from JS"
  343. Active = FALSE
  344. Limit = 25
  345. Match = "navigator.appVersion"
  346. Replace = "'2.1'"
  347.  
  348. Name = "Hide Browser's Identity from JS"
  349. Active = FALSE
  350. Limit = 25
  351. Match = "navigator.(appName|userAgent)"
  352. Replace = "'ShonenScape'"
  353.  
  354. Name = "Kill the worst Pop-Up windows"
  355. Active = TRUE
  356. Multi = TRUE
  357. Bounds = "<script*</script>"
  358. Limit = 1024
  359. Match = "\1(window.open|open) \(\2"
  360. Replace = "\n\1 null; foo=(\2"
  361.  
  362. Name = "Kill all Pop-Up windows"
  363. Active = FALSE
  364. Limit = 25
  365. Match = "(window.open|open) \("
  366. Replace = "null; foo=("
  367.  
  368. Name = "Kill window.external methods"
  369. Active = TRUE
  370. Limit = 40
  371. Match = "window.external.[^(]+"
  372. Replace = "null; "
  373.  
  374. Name = "Kill Pop-Up Message Boxes"
  375. Active = FALSE
  376. Multi = TRUE
  377. Limit = 4096
  378. Match = "(alert|confirm) \("
  379. Replace = "(1) && ("
  380.  
  381. Name = "Stop JavaScript status bar scrollers"
  382. Active = FALSE
  383. Multi = TRUE
  384. Bounds = "<script*</script>"
  385. Limit = 4096
  386. Match = "\1window.status\2"
  387. Replace = "\n\1window.url\2"
  388.  
  389. Name = "Stop OnMouseOver events"
  390. Active = FALSE
  391. Limit = 20
  392. Match = "onmouseover="
  393. Replace = "OnPheasantOver="
  394.  
  395. Name = "Stop JavaScript Timers"
  396. Active = FALSE
  397. Limit = 25
  398. Match = "(window.|)setTimeout\("
  399. Replace = "null; ("
  400.  
  401. Name = "Kill Dynamic HTML JavaScripts"
  402. Active = FALSE
  403. Limit = 25
  404. Match = ".(writeln|write) \("
  405. Replace = "; foo=("
  406.  
  407. Name = "Frame Jumper-Outer"
  408. Active = TRUE
  409. Multi = TRUE
  410. Bounds = "<a\s*>"
  411. Limit = 128
  412. Match = "<a\s\0 (href=("|)http:\w)\1 \2>"
  413. Replace = "<a target=_top \0 \1 \2>"
  414.  
  415. Name = "iFrame/iLayer to link"
  416. Active = FALSE
  417. Bounds = "<iframe\s*</iframe>|<ilayer\s*</ilayer>"
  418. Limit = 1000
  419. Match = "<(iframe|ilayer)\0*src=(\w)\1*"
  420. Replace = "<font size=1><a target=_blank href=\1 >[\0]</a></font>"
  421.  
  422. Name = "Kill Style Sheets"
  423. Active = FALSE
  424. Limit = 4096
  425. Match = "<style*</style>"
  426. Replace = "<!-- style sheet killed -->"
  427.  
  428. Name = "Kill Layers"
  429. Active = FALSE
  430. Limit = 20
  431. Match = "<(/|)\1(layer|ilayer)"
  432. Replace = "<\1PeelLayer"
  433.  
  434. Name = "Frame Exploder"
  435. Active = FALSE
  436. Multi = TRUE
  437. Limit = 4096
  438. Match = "<start>"
  439. Replace = "<script> "
  440.           "if (top.location != location){"
  441.           "window.open(location.href); window.close(); "
  442.           "} </script>"
  443.  
  444. Name = "DeFramer"
  445. Active = FALSE
  446. Limit = 40
  447. Match = "<(/|)\1(frameset|noframes)"
  448. Replace = "<\1NoFrameset"
  449.  
  450. Name = "Convert Frames to Links"
  451. Active = FALSE
  452. Limit = 256
  453. Match = "<frame\s*src=(\w)\1 *>"
  454. Replace = "<body><font size=2><a href=\1>Frame:\1</a></font><br></body>"
  455.  
  456. Name = "Allow for frame resizing"
  457. Active = FALSE
  458. Bounds = "<frame*>"
  459. Limit = 256
  460. Match = "<(frameset|frame)\0\s ("
  461.         "(*((rows|cols)=("*"|\w))\1|)&(*(name=("*"|\w))\2|)"
  462.         "&(*(src=\w)\3|)&(*(scrolling=\w)\4|)"
  463.         "&(*(marginwidth=\w)\5|)&(*(marginheight=\w)\6|))*>"
  464. Replace = "<\0 \1 \2 \3 \4 \5 \6 border="1" >"
  465.  
  466. Name = "DeTabler"
  467. Active = FALSE
  468. Limit = 200
  469. Match = "<(/|)t(able|r)*>"
  470. Replace = "<p>"
  471.  
  472. Name = "Table width unlimiter"
  473. Active = FALSE
  474. Limit = 256
  475. Match = "<(table|td)\0\s\1width=[#500-*]\2>"
  476. Replace = "<\0 \1\2>"
  477.  
  478. Name = "Foreign content-type filter"
  479. Active = FALSE
  480. Bounds = "<meta\s*>"
  481. Limit = 256
  482. Match = "*http-equiv="content-type"*charset=*"
  483. Replace = "<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">"
  484.  
  485. Name = "Skinnier Table Border"
  486. Active = FALSE
  487. Limit = 128
  488. Match = "<table\s\1border=[#4-*]\2>"
  489. Replace = "<table \1border=3\2>"
  490.  
  491.  
  492. [Proxies]
  493.  
  494.  
  495.